package com.jdk8.demo;

public class Person {

	public int no;
	private String name;

	public Person(int no, String name) {
		this.no = no;
		this.name = name;
	}

	public String getName() {
		System.out.println(name);
		return name;
	}

}
